package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.EnableDict;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: scm_chain_fina
 * @Author: jeecg-boot
 * @Date:   2021-11-23
 * @Version: V1.0
 */
@Data
@TableName("scm_chain_fina")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="scm_chain_fina对象", description="云链单融资申请")
public class ScmChainFina implements Serializable, EnableDict {
    private static final long serialVersionUID = 1L;

	/**申请号*/
	@Excel(name = "申请号", width = 15)
    @ApiModelProperty(value = "申请号")
    private Integer applyNo;
	/**云链单凭证号*/
	@Excel(name = "云链单凭证号", width = 15)
    @ApiModelProperty(value = "云链单凭证号")
    private String chainNo;
	/**当前状态*/
	@Excel(name = "当前状态", width = 15)
    @ApiModelProperty(value = "当前状态")
    @Dict(dicCode = "chain_fina_status")
    private Integer state;
	/**建立日期*/
	@Excel(name = "建立日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建立日期")
    private Date createTime;
	/**建立用户*/
	@Excel(name = "建立用户", width = 15)
    @ApiModelProperty(value = "建立用户")
    private String createBy;
	/**最后修改日期*/
	@Excel(name = "最后修改日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
	/**最后修改用户*/
	@Excel(name = "最后修改用户", width = 15)
    @ApiModelProperty(value = "最后修改用户")
    private String updateBy;
}
